package cn.wolfcode.ssm.service;

import cn.wolfcode.ssm.domain.Department;
import cn.wolfcode.ssm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {

    void deleteById(Long id);

    void save(Department record);

    Department selectById(Long id);

    PageInfo<Department> query(QueryObject qo);

    List<Department> ListAll();

    void updateById(Department record);
}
